package jgl.vajra.management.part.home.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.management.bean.ListeningSettingBean;
import jgl.vajra.management.databinding.ActivityListeningSettingBinding;
import jgl.vajra.management.widget.mvvm.model.BaseModel;
import jgl.vajra.management.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.management.widget.mvvm.viewmodel.BaseViewModel;

public class ListeningSettingContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<String> determineListeningSetting(Map<String, Object> map);

        public abstract Observable<ListeningSettingBean> getDetermineListeningSetting(Map<String, Object> map);

    }

    public interface View extends BaseMVVMView {

        void onVoiceAnnouncements();

        void onAllModels();

        void onMyModels();

        void onImage1();

        void onImage2();

        void onImage3();

        void onImage4();

        void onImage5();

        void onImage6();

        void onImage7();

        void onImage8();

        void onReset();

        void onDetermine();

        void returnDetermineListeningSetting(String s);

        void returnSettingData(ListeningSettingBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityListeningSettingBinding, Model> {

        public abstract void determineListeningSetting(Map<String, Object> map);

        public abstract void getDetermineListeningSetting(Map<String, Object> map);
    }
}
